<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Association of Christian Schools International</title>

<link rel="stylesheet" media="screen" href="<?php echo bu('css/reset.css'); ?>" />
<link rel="stylesheet" media="screen" href="<?php echo bu('css/grid.css'); ?>" />
<link rel="stylesheet" media="screen" href="<?php echo bu('css/style.css'); ?>" />
<link rel="stylesheet" media="screen" href="<?php echo bu('css/messages.css'); ?>" />
<link rel="stylesheet" media="screen" href="<?php echo bu('css/forms.css'); ?>" />
<link rel="stylesheet" media="screen" href="<?php echo bu('css/tables.css'); ?>" />
<link rel="stylesheet" media="screen" href="<?php echo bu('css/ie.css'); ?>" />
<link rel="stylesheet" media="screen" href="<?php echo bu('css/custom.css'); ?>" />
<link rel="stylesheet" media="screen" href="<?php echo bu('css/custom_1.css'); ?>" />

<!--[if lt IE 8]>
<link rel="stylesheet" media="screen" href="css/ie.css" />
<![endif]-->

<!-- jquerytools -->
<script src="<?php echo bu('js/jquery.tools.min.js'); ?>"></script>
<script src="<?php echo bu('js/jquery.validate.js'); ?>"></script>
<script type="text/javascript" src="<?php echo bu('js/global.js'); ?>"></script>

<!--[if lt IE 9]>
<script type="text/javascript" src="js/html5.js"></script>
<script type="text/javascript" src="js/PIE.js"></script>
<script type="text/javascript" src="js/IE9.js"></script>
<script type="text/javascript" src="js/ie.js"></script>
<![endif]-->

<script type="text/javascript" src="<?php echo bu('js/jquery.livevalidation.js'); ?>"></script>
<script type="text/javascript" src="<?php echo bu('js/ddaccordion.js'); ?>"></script>
<script type="text/javascript">
ddaccordion.init({
	headerclass: "submenuheader", //Shared CSS class name of headers group
	contentclass: "submenu", //Shared CSS class name of contents group
	revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click", "clickgo", or "mouseover"
	mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover
	collapseprev: true, //Collapse previous content (so only one open at any time)? true/false
	defaultexpanded: [], //index of content(s) open by default [index1, index2, etc] [] denotes no content
	onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
	animatedefault: false, //Should contents open by default be animated into view?
	persiststate: true, //persist state of opened contents within browser session?
	toggleclass: ["", ""], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
	animatespeed: "fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
	oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
		//do nothing
	},
	onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
		//do nothing
	}
})
</script>

</head>
<body>
    <div id="wrapper">
        <header>
            <div class="container_8 clearfix">
                <h1 class="grid_1"><a href="<?php echo bu(); ?>">ACSI</a></h1>
                <nav class="grid_5">
                    <ul class="clearfix">
                        <li class="fr"><a href="#"><?php echo Yii::app()->user->name; ?><span class="arrow-down"></span></a>
                            <ul>
                                <li><a href="<?php echo bu('admin/edit_profile'); ?>">Edit Profile</a></li>
                                <li><a href="<?php echo bu('admin/site/logout'); ?>">Sign out</a></li>
                            </ul>
                        </li>
                    </ul>
                </nav>
                <form class="grid_2">
                    <input class="full" type="text" placeholder="Search..." />
                </form>
            </div>
        </header>

        <section>
            <div class="container_8 clearfix">

                <!-- Sidebar -->

                <aside class="grid_1">

                    <nav class="global">
                        <ul class="clearfix">
                            <li class="active"><a class="nav-icon icon-house" href="<?php echo bu('admin'); ?>">Dashboard</a></li>
                        </ul>
                    </nav>

                    <nav class="global subnav">
                      <div class="sidebarmenu">
                        <a class="menuitem menuitem_green submenuheader" href="#">Publishing</a>
                        <div class="submenu">
                            <ul class="clearfix">
                              <li><a href="<?php echo bu('admin/exhibitions'); ?>">Exhibitions</a></li>
                              <li><a href="<?php echo bu('admin/catalogs'); ?>">Catalogs</a></li>
                              <li><a href="<?php echo bu('admin/orders'); ?>">Orders</a></li>
                            </ul>
                        </div>

                        <a class="menuitem menuitem_green submenuheader" href="#">News & Contents</a>
                        <div class="submenu">
                            <ul class="clearfix">
                              <li><a href="<?php echo bu('admin/news'); ?>">News</a></li>
                              <li><a href="<?php echo bu('admin/articles'); ?>">Articles</a></li>
                              <li><a href="<?php echo bu('admin/links'); ?>">Links</a></li>
                            </ul>
                        </div>

                        <a class="menuitem menuitem_green submenuheader" href="#">Programs</a>
                        <div class="submenu">
                            <ul class="clearfix">
                              <li><a href="<?php echo bu('admin/programs'); ?>?id=1">CEDP</a></li>
                              <li><a href="#">ODE</a></li>
                              <li><a href="<?php echo bu('admin/programs'); ?>?id=3">CEC</a></li>
                              <li><a href="<?php echo bu('admin/programs'); ?>?id=4">Student Activities</a></li>
                              <li><a href="#">Forum</a></li>
                              <li><a href="<?php echo bu('admin/programs'); ?>?id=6">CCIHT</a></li>
                              <li><a href="<?php echo bu('admin/programs'); ?>?id=7">Accreditation</a></li>
                              <li><a href="<?php echo bu('admin/programs'); ?>?id=8">EFL</a></li>
                            </ul>
                        </div>

                        <a class="menuitem menuitem_green submenuheader" href="#">Members</a>
                        <div class="submenu">
                            <ul class="clearfix">
                              <li><a href="<?php echo bu('admin/members'); ?>?member=1">School</a></li>
                              <li><a href="<?php echo bu('admin/members'); ?>?member=2">CEC Communities</a></li>
                              <li><a href="<?php echo bu('admin/members'); ?>?member=3">SELC Communities</a></li>
                            </ul>
                        </div>

                        <a class="menuitem_green" href="<?php echo bu("admin/webinars"); ?>">Webinars</a>
                        <a class="menuitem_green" href="<?php echo bu("admin/downloadurls"); ?>">Downloads</a>
                        <a class="menuitem_green" href="<?php echo bu("admin/banners"); ?>">Banners</a>
                        <a class="menuitem_green" href="<?php echo bu("admin/journals"); ?>">Journals</a>
                        <a class="menuitem_green" href="<?php echo bu("admin/feedbacks"); ?>">Feedbacks</a>
                        <a class="menuitem_green" href="<?php echo bu("admin/ads"); ?>">Advertisment</a>
                      </div>
                    </nav>
                </aside>

                <!-- Sidebar End -->


                <!-- Main Section -->
                <section class="main-section grid_7">
                  <?php echo $content; ?>
                </section>
                <!-- Main Section End -->

            </div>
            <div id="push"></div>
        </section>
    </div>

    <footer>
        <div id="footer-inner" class="container_8 clearfix">
            <div class="grid_8">
              &copy; 2011 by <b>ACSI Indonesia</b>. Developed by <a href="http://www.web7site.com" target="_blank">7 Site</a>.
            </div>
        </div>
    </footer>
</body>
</html>